WPDesk\ShopMagic\CommunicationList\CommunicationListRepository S

Total Complexity 20
Dependencies 9
Dependents 9
Total lines 187
Lines of code 111
Logical lines of code 47
Comment lines 49
Methods 15
Properties 1

Methods 15

Method Rating Maintainability Complexity Lines of code
get_by_id()
S
58 2 16
get_by_id_for_table()
S
61 2 13
get_checkout_communication_types()
S
68 2 8
get_all()
S
67 2 8
get_lists_as_select_options()
S
67 2 8
__construct()
S
81 1 3
get_account_communication_types()
S
81 1 3
get_soft_optin_communication_types()
S
69 1 8
get_optins()
S
71 1 5
get_optouts()
S
71 1 5
get_email_lists_ids()
S
79 1 3
get_email_optin_lists_ids()
S
66 1 9
get_email_optout_lists_ids()
S
66 1 9
get_email_opt_model()
S
73 1 5
get_lists_as_posts()
S
68 1 8